html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.container {
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.container .view {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.container .list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.container .list .item {
  margin: 0 15px;
  position: relative;
}

.container .list .item:hover .mask {
  opacity: 1;
}

.container .list .item:hover .mask button {
  transform: translateY(0);
}

.container .list .item img {
  display: block;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

.container .list .item .mask {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.container .list .item .mask button {
  outline: none;
  border: none;
  background-color: #fff;
  padding: 12px 22px;
  border-radius: 1000px;
  display: inline-block;
  cursor: pointer;
  transform: translateY(30px);
  transition: transform 0.3s;
}

.container .list .item .mask button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.container .list .item .mask button .icon {
  vertical-align: text-top;
  margin-left: 5px;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #1d1d1f;
  position: relative;
}

.container .list .item .mask button .icon::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  display: block;
  border: 4px solid #fff;
  border-right-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
